package com.example.hotel.dao;

import com.example.hotel.entity.Resident;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.sql.Date;
import java.util.List;
@Mapper
@Repository
public interface ResidentDao {


   List<Resident> findAll();



   int add(Resident resident);


   int update(@Param("customId") int customId ,@Param("state") String state);


   int delete( int customId);
}

